from django.urls import path, include
from rest_framework.routers import SimpleRouter
from .views import WorkerListView

urlpatterns = [
    path('', WorkerListView.as_view()),  # 工人列表
    # path('<int:pk>/', ArticleDetailView.as_view()),  # 文章详情
]

# router = SimpleRouter()
# router.register('member', MemberViewSet)  # 后台会员,CRUD操作
# urlpatterns += router.urls
